		<link rel="stylesheet" href="<?php echo APP_TEMPLATES_URL;?>/css/checkbix.min.css" />
		<link rel="stylesheet" href="<?php echo APP_TEMPLATES_URL;?>/css/public.css" />
		<script src="<?php echo APP_TEMPLATES_URL;?>/js/checkbix.min.js" type="text/javascript" charset="utf-8"></script>
				<script type="text/javascript">
			Checkbix.init();
		</script>

<style>
	body,
	html {
		background: #F4F4F4 !important;
	}
	
	.indexm {
		display: none;
	}
</style>
<!-- 导航 -->
<div class="mui-bar mui-bar-nav bj">
	<button class="mui-btn mui-btn-link mui-btn-nav mui-pull-left zys  mui-action-back">
				<img style=" max-width: 50%; vertical-align: middle;" src="<?php echo APP_TEMPLATES_URL;?>/images/back.png" />
			</button>
	<h1 class="mui-title"><label style="font-size: 22px;vertical-align: middle;">找回密码</label></h1>
</div>
<ul class="across">
	
	<li class="side notactive">
		<div class="countone">
			<label>
					<input type="text" name="mobile" id="mobile" style="font-size: 14px; width: 100%;vertical-align: middle;border: 0; height: 45px;" placeholder="请输入绑定的号码" />
			</label>
			<label style="width: 36px; display: none;"><img style="width: 28px;" src="<?php echo APP_TEMPLATES_URL;?>/images/chacha.png"/></label>
		</div>
		<div style="color: red; border-bottom: 1px  solid;display:none;" id="mobile_msg">手机号码不能空</div>
	</li>
	
	<li class="side notactive">
		<div class="countone">
			<label>
					<input type="text" name="sms_code" id="sms_code" style="font-size: 14px; width: 100%;vertical-align: middle;border: 0; height: 45px;" placeholder="验证码" />
			</label>
			<label style="width: 82px;" id="getCode">获取验证码</label>
			<div style="color: red; border-bottom: 1px  solid;display:none;" id="code_msg"></div>
		</div>
	</li>
	
</ul>

<div style="padding: 15px; clear: both;">
	<table width="100%">
		<tr>
			<td style="padding-bottom: 8px;">
			</td>
		</tr>
		<tr>
			<td>
				<a class="loginbnt" href="javascript:;" id="findPass">下一步</a>
			</td>
		</tr>

	</table>	
</div>
<script language="Javascript">
   $("#getCode").click(function(){
	   var re = true;
	   if($("#mobile").val()==""){
	        $("#mobile_msg").show();
	        re = false;
		}else{
	    if($("#mobile").val().length >1 && $("#mobile").val().length != 11){
	        alert('请输入11位手机号!');
	        re = false;
	    }}
	    if(re){
	    var ajaxurl = 'index.php?act=login&op=get_captcha&nchash=1&type=3';
        ajaxurl += '&phone='+$('#mobile').val();
        $("#mobile_msg").hide();
			$.ajax({
				type: "GET",
				url: ajaxurl,
				async: false,
				success: function(rs){
                if(rs == 'true') {
                	$("#code_msg").html('短信动态码已发出').show();
                } else {
                    showError(rs);
                }
			    }
			});
	    }
   });

   $("#findPass").click(function(){
      var phone = $("#mobile").val();
      var sms_code = $("#sms_code").val();
      var ajaxurl = 'index.php?act=login&op=check_captcha';
      $.ajax({
				type: "POST",
				url: ajaxurl,
				data : {
    				phone : phone,
    				captcha : sms_code,
    				type : 3
    			},
    			dataType : "json",
				success: function(rs){
                if(rs.datas == true) {
                	window.location.href = 'index.php?act=login&op=resetpassword&phone='+phone+'&captcha='+sms_code+'&type=3';
                } else {
                	$("#code_msg").html('短信动态码不正确').show();
                }
			    }
			});
   });
</script>